package com.example.common.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel
public class EscortReserve {
    @ApiModelProperty(value = "预约编号")
    private String erOrderNo;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "患者id")
    private Long pId;
    @ApiModelProperty(value = "用户id")
    private Long uid;
    @ApiModelProperty(value = "产品id")
    private Long productId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预约开始时间")
    private Date beginTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预约j结束时间")
    private Date endTime;
    @ApiModelProperty(value = "护工性别")
    private String caregiverGender;
    @ApiModelProperty(value = "联系人姓名")
    private String linkMan;
    @ApiModelProperty(value = "联系人电话")
    private String linkTel;
    @ApiModelProperty(value = "预约状态 0->待审核 1->已经同意 2->已经拒绝")
    private Integer rStatusTiny;
    @ApiModelProperty(value = "护工姓名")
    private String caregiverName;
    @ApiModelProperty(value = "护工电话")
    private String caregiverPhone;
    @ApiModelProperty(value = "拒绝原因")
    private String refuseReason;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "是否禁用")
    private Integer disable;
}
